
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=utf-8">
<?php
	if (!isset($_SERVER['PHP_AUTH_USER'])) {
    header('WWW-Authenticate: Basic realm="Admin for Trustgame!"');
    header('HTTP/1.0 401 Unauthorized');
    echo '<div id="doc" style="width:760px; padding-left:0px; margin-left:0px">
	   <div id="bd">
	   		<div id="yui-main">
				<div class="yui-b">
					<div class="yui-g">
						<div class="pageHeading" style="padding:15px 10px 15px 0px;">Investment Game !!</div>
                        <br/>
                        <div class="sectionHeading">Authentication Invalid</div>
						<div style="padding:0px 0px 15px 0px;">
							<p class="font4">You are not authorized to view this page. The username/password your have entered is incorrect.</p>
						</div>
					</div>
				</div>
	   		</div>
	   </div>
	   <div id="test">
	   </div>
	   </div>';
    exit;
} else {
	$username = $_SERVER['PHP_AUTH_USER'];
    $password = $_SERVER['PHP_AUTH_PW'];
    if($username != 'admin' || $password != 'admin'){
    	die('<div id="doc" style="width:760px; padding-left:0px; margin-left:0px">
	   	<div id="bd">
	   		<div id="yui-main">
				<div class="yui-b">
					<div class="yui-g">
						<div class="pageHeading" style="padding:15px 10px 15px 0px;">Investment Game !!</div>
                        <br/>
                        <div class="sectionHeading">Authentication Invalid</div>
						<div style="padding:0px 0px 15px 0px;">
							<p class="font4">You are not authorized to view this page. The username/password your have entered is incorrect.</p>
						</div>
					</div>
				</div>
	   		</div>
	   </div>
	   <div id="test">
	   </div>
		</div>');
    	exit;
    }
}?>
<!--block_head-->
  <link link href="_/css/grids-min.css" rel="stylesheet" type="text/css" xmlns:msxsl="urn:schemas-microsoft-com:xslt">
  <link link href="_/css/v3.css" rel="stylesheet" type="text/css" xmlns:msxsl="urn:schemas-microsoft-com:xslt">
  <link link href="_/css/downloads.css" rel="stylesheet" type="text/css" xmlns:msxsl="urn:schemas-microsoft-com:xslt">
  <link href='https://fonts.googleapis.com/css?family=Exo:700,700italic|Average' rel='stylesheet' type='text/css'>
  <link rel="stylesheet" type="text/css" href="_/css/mystyle.css">
  <script type="text/javascript" src="_/js/jquery-1.8.2.min.js"></script>
  <script type="text/javascript" src="_/js/myscript.js"></script>



<!--/object-specific stylesheets-->
<!--/block_head-->

<!--  YUI Tables -->
	<!--CSS file (default YUI Sam Skin) -->
<link type="text/css" rel="stylesheet" href="http://yui.yahooapis.com/2.8.0r4/build/datatable/assets/skins/sam/datatable.css">

<!-- Dependencies -->
<script src="http://yui.yahooapis.com/2.8.0r4/build/yahoo-dom-event/yahoo-dom-event.js"></script>
<script src="http://yui.yahooapis.com/2.8.0r4/build/element/element-min.js"></script>
<script src="http://yui.yahooapis.com/2.8.0r4/build/datasource/datasource-min.js"></script>

<!-- OPTIONAL: JSON Utility (for DataSource) -->
<script src="http://yui.yahooapis.com/2.8.0r4/build/json/json-min.js"></script>

<!-- OPTIONAL: Connection Manager (enables XHR for DataSource) -->
<script src="http://yui.yahooapis.com/2.8.0r4/build/connection/connection-min.js"></script>

<!-- OPTIONAL: Get Utility (enables dynamic script nodes for DataSource) -->
<script src="http://yui.yahooapis.com/2.8.0r4/build/get/get-min.js"></script>

<!-- OPTIONAL: Drag Drop (enables resizeable or reorderable columns) -->
<script src="http://yui.yahooapis.com/2.8.0r4/build/dragdrop/dragdrop-min.js"></script>

<!-- OPTIONAL: Calendar (enables calendar editors) -->
<script src="http://yui.yahooapis.com/2.8.0r4/build/calendar/calendar-min.js"></script>

<!-- Source files -->
<script src="http://yui.yahooapis.com/2.8.0r4/build/datatable/datatable-min.js"></script>

<!--  /YUI Tables -->

    	<?php
	      // inserts the contents of the file "facebook_include.php" as if 
	      //   those same lines had been typed here.
	     //require_once("facebook_func.php");
	     require_once("facebook_include1.php");

		?>

</head>
<body>

</body>
</html>
